{extend name="../../admin/view/main"}


{block name="content"}
<div class="layui-tab layui-tab-card think-bg-white">

    <div class="layui-tab-content">
        {include file='control/enter_summary/index_search'}
        <table class="layui-table margin-top-10" lay-skin="line">
            {notempty name='list'}
            <thead>
            <tr>
                <th class='list-table-check-td think-checkbox'>
                    <label><input data-auto-none data-check-target='.list-check-box' type='checkbox'></label>
                </th>
                <th class='text-left nowrap'>物资编号</th>
                <th class='text-left nowrap'>物资名称</th>
                <th class='text-left nowrap'>型号/规格</th>
                <th class='text-left nowrap'>单位</th>
                <th class='text-left nowrap'>计划价</th>
                <th class='text-left nowrap'>期初结存数量</th>
                <th class='text-left nowrap'>期初结存金额</th>
                <th class='text-left nowrap'>入库数量</th>
                <th class='text-left nowrap'>入库金额</th>
                <th class='text-left nowrap'>出库数量</th>
                <th class='text-left nowrap'>出库金额</th>
                <th class='text-left nowrap'>期末结存数量</th>
                <th class='text-left nowrap'>期末结存金额</th>
            </tr>
            </thead>
            {/notempty}
            <tbody>
            {foreach $list as $key=>$vo}
            <tr>
                <td class='list-table-check-td think-checkbox'>
                    <input class="list-check-box" value='{$vo|json_encode}' type='checkbox'>
                </td>
                <td class='nowrap'>
                    <div class="inline-block text-top sub-span-blue">
                        <div><span>{$vo.material_code|default='--'}</span></div>
                    </div>
                </td>
                <td class='nowrap'>
                    <div class="inline-block text-top sub-span-blue">
                        <div><span>{$vo.material_name|default='--'}</span></div>
                    </div>
                </td>
                <td class='nowrap'>
                    <div class="inline-block text-top sub-span-blue">
                        <div><span>{$vo.material_model|default='--'}</span></div>
                    </div>
                </td>
                <td class='nowrap'>
                    <div class="inline-block text-top sub-span-blue">
                        <div><span>{$vo.material_unit|default='--'}</span></div>
                    </div>
                </td>
                <td class='nowrap'>
                    <div class="inline-block text-top sub-span-blue">
                        <div><span>{$vo.material_price|default='--'}</span></div>
                    </div>
                </td>
                <td class='text-center nowrap'>
                    <div class="inline-block text-top sub-span-blue">
                        <div><span>{$vo.start_num|default='--'}</span></div>
                    </div>
                </td>
                <td class='text-center nowrap'>
                    <div class="inline-block text-top sub-span-blue">
                        <div><span>{$vo.start_xjprice|default='--'}</span></div>
                    </div>
                </td>


                <td class='text-center nowrap'>
                    <div class="inline-block text-top sub-span-blue">
                        <div><span>{$vo.material_num|default='--'}</span></div>
                    </div>
                </td>
                <td class='text-center nowrap'>
                    <div class="inline-block text-top sub-span-blue">
                        <div><span>{$vo.material_xjprice|default='--'}</span></div>
                    </div>
                </td>
                <td class='text-center nowrap'>
                    <div class="inline-block text-top sub-span-blue">
                        <div><span>{$vo.claim_num|default='--'}</span></div>
                    </div>
                </td>
                <td class='text-center nowrap'>
                    <div class="inline-block text-top sub-span-blue">
                        <div><span>{$vo.claim_xjprice|default='--'}</span></div>
                    </div>
                </td>
                <td class='text-center nowrap'>
                    <div class="inline-block text-top sub-span-blue">
                        <div><span>{$vo.surplus_num|default='--'}</span></div>
                    </div>
                </td>
                <td class='text-center nowrap'>
                    <div class="inline-block text-top sub-span-blue">
                        <div><span>{$vo.surplus_xjprice|default='--'}</span></div>
                    </div>
                </td>
            </tr>
            {/foreach}
            </tbody>
        </table>
        {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}
    </div>
    <script>form.render()</script>
</div>
{/block}